package com.mzkj.wanjulaile.mobile.api.modules.appointment.entity;

import com.mzkj.wanjulaile.mobile.api.common.entity.DataEntity;
import com.mzkj.wanjulaile.mobile.api.modules.account.entity.Account;
import com.mzkj.wanjulaile.mobile.api.modules.toy.entity.Toy;

/**
 * 预约收藏Entity
 * @author hgw
 * @version 2016-10-25
 */
public class AppointmentCollection extends DataEntity<AppointmentCollection> {

	private static final long serialVersionUID = 1L;
	private Toy toy;		// 玩具产品id
	private Account account;		// 用户id
	private String type;		// 类型 0：收藏  1:预约

	public static final String TYPE_COLLECTION = "0";

	public static final String TYPE_APPOINTMENT = "1";

	public AppointmentCollection() {
		super();
	}

	public AppointmentCollection(String id){
		super(id);
	}

	public Toy getToy() {
		return toy;
	}

	public void setToy(Toy toy) {
		this.toy = toy;
	}

	public Account getAccount() {
		return account;
	}

	public void setAccount(Account account) {
		this.account = account;
	}

	public String getType() {
		return type;
	}

	public void setType(String type) {
		this.type = type;
	}

}